class Animal:
    name='animal'
    def shout(self):
        print('animal shout')

animal=Animal()
print(animal.name)
animal.shout()

class Dog:
    name='dog'
    def eat(self):
        print('dog eat')

dog = Dog()
print(dog.name)
dog.eat()
